﻿using Abp.Domain.Entities.Auditing;
using JetBrains.Annotations;
using System;

namespace Camc.Quality.DataDictionary
{
    public class Sys_Code : FullAuditedEntity<Guid>
    {
        /// <summary>
        /// 字典类别
        /// </summary>
        public string CodeId { get; set; }
        /// <summary>
        /// 字典名称
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 字典名称描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 父亲字典名称
        /// </summary>
        public Guid ?PPtr { get; set; }
        /// <summary>
        /// 简称
        /// </summary>
        public string Spell { get; set; }

        /// <summary>
        /// 是否使用 0不使用  1使用
        /// </summary>
        public int IsUsed { get; set; }

        /// <summary>
        /// 系统代码  0:系统代码，1：用户代码
        /// </summary>
        [CanBeNull]
        public bool System { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [CanBeNull]
        public int Sort { get; set; }

        /// <summary>
        ///  备注
        /// </summary>
        public string Remark { get; set; }


    }
}
